import React from 'react'
import { viewRoutes } from './router'
import { useRoutes } from 'react-router-dom'

function App() {
  return (
    <div>
      <div>{useRoutes(viewRoutes)}</div>
    </div>
  )
}

export default App
